namespace Admin2025.Domain.Entities.App;

/// <summary>
/// 应用权限实体。
/// </summary>
public class AppPermission : EntityBase
{
    /// <summary>
    /// 权限名称
    /// </summary>
    public string PermissionName { get; set; } = null!;

    /// <summary>
    /// 权限关联的资源集合
    /// </summary>
    public ICollection<AppResource> Resources { get; set; } = new List<AppResource>();
}